Lua
Name Start Address Type Access
LUA_RUN 6000 UINT32 R/W
LUA_SOURCE_SIZE 6012 UINT32 R/W
LUA_DEBUG_ENABLE 6020 UINT32 R/W
LUA_RUN
- Address: 6000
Writing 1 compiles and runs the Lua script that is loaded in RAM. Writing zero stops the script and begins cleaning up memory. Users may poll the register after writing a value of 0 to verify that the VM is unloaded, and garbage collection is complete. 0 = VM fully unloaded. 1 = Running/in-progress
  • Data type: UINT32  (type index = 1)
  • Readable and writable
  • This register uses system RAM. The maximum RAM is 64KB. For more information, see 4.4 RAM
  • T8:
  • T7:
LUA_SOURCE_SIZE
- Address: 6012
Allocates RAM for the source code.
  • Data type: UINT32  (type index = 1)
  • Readable and writable
  • This register uses system RAM. The maximum RAM is 64KB. For more information, see 4.4 RAM
  • T8:
  • T7:
LUA_DEBUG_ENABLE
- Address: 6020
Write 1 to this register to enable debugging.
  • Data type: UINT32  (type index = 1)
  • Readable and writable
  • This register uses system RAM. The maximum RAM is 64KB. For more information, see 4.4 RAM
  • T8:
  • T7: